import numpy as np
import sys
print(sys.argv[1])
a = np.load(sys.argv[1]).astype(np.float32)
fileName = "./" + sys.argv[2] +".bin"
file = open(fileName, "wb")
for x in np.nditer(a):
    file.write(x)
file.close()
